//
//  TJCellModel.m
//  BaoDian
//
//  Created by mac on 2024/7/22.
//

#import "TJCellModel.h"

@implementation TJCellModel


- (instancetype)init {
    if (self = [super init]) {
        self.showArrow = YES;
        self.showLine = NO;
        self.isSelect = NO;
        self.textFieldEnabled = YES;
        self.textFieldMaxLength = NSUIntegerMax;
        self.selectionStyle = UITableViewCellSelectionStyleDefault;
    }
    return self;
}

+ (TJCellModel *)modelWithBlock:(void (^)(TJCellModel *model))block {
    TJCellModel *model = [[TJCellModel alloc] init];
    if (block) block(model);
    return model;
}

@end
